 import axios from 'axios';
import {Requestor} from '../core/core';

const ins = axios.create()


 export const requestor: Requestor = {
   get(url: string, options?: any) {
     return ins.get(url, options)
   },
   post(url: string, options?: any) {
     return ins.post(url, options)
   },
   put(url: string, options?: any) {
     return ins.put(url, options)
   },
   delete(url: string, options?: any) {
     return ins.delete(url, options)
   }



 }

